<?php

 

include "com/funcs/add.php";
$p=new class extends \com\funcs\abc\BB{
    function echoPI(){
        echo"3.141";
    }
};
$p->echoPI();